<template>
  <div>
    <div class="queryCard">
      <el-form :model="Course" ref="Course"  class="demo-Course">
        <el-form-item prop="course_name">
            <el-input v-model="Course.course_name"  placeholder="请输入讲座名称"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button size="medium" round type="primary" @click="selectItem(Course)">查 询</el-button>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<style scoped>
.queryCard{
margin: 0 auto;
margin-top:110px;
width: 285px;
text-align: center;
}
</style>

<script>
export default {
  data() {
    return {
      Course: {
        course_name: ''
      }
    }
  },
  methods: {
    selectItem(course) {
      this.$emit('select', course)
    }
  }
}
</script>